<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>添加筹资项目</title>
		<script charset="utf-8" src="editor/kindeditor.js"></script>
		<script>        
			KE.show(
				{
					id : 'project_introduction',
					resizeMode : 1,
					afterCreate : function(id) {
						KE.event.ctrl(document, 13, function() {
							KE.util.setData(id);
							document.forms['main_form'].submit();
						});
						KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
							KE.util.setData(id);
							document.forms['main_form'].submit();
						});
					},
					items : [
						'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
						'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
						'insertunorderedlist', '|', 'emoticons', 'link']
					}
			);        
			KE.show(
					{
						id : 'project_description',
						resizeMode : 1,
						afterCreate : function(id) {
							KE.event.ctrl(document, 13, function() {
								KE.util.setData(id);
								document.forms['main_form'].submit();
							});
							KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
								KE.util.setData(id);
								document.forms['main_form'].submit();
							});
						},
						items : [
							'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
							'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
							'insertunorderedlist', '|', 'emoticons', 'link']
						}
				);        
			KE.show(
					{
						id : 'project_contactInfo',
						resizeMode : 1,
						afterCreate : function(id) {
							KE.event.ctrl(document, 13, function() {
								KE.util.setData(id);
								document.forms['main_form'].submit();
							});
							KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
								KE.util.setData(id);
								document.forms['main_form'].submit();
							});
						},
						items : [
							'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
							'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
							'insertunorderedlist', '|', 'emoticons', 'link']
						}
				); 
		</script>
	</head>
	<body>
		<div class="div_title">编辑投资项目</div>
		<div class="div_article">
			<s:form action="manage/editProject.action" method="POST" theme="simple">
				<input type="hidden" name="project.id" value="${project.id}"/>
				<table>
					<tbody>
						<tr>
							<td class="td_key">
								项目名称：
							</td>
							<td>
								<s:textfield cssClass="input_long" name="project.name"></s:textfield>
							</td>
						</tr>
							<tr>
								<td class="td_key">
									项目简介：
								</td>
								<td>
									<s:textarea name="project.introduction" id="project_introduction" cols="55" rows="5"></s:textarea>
								</td>
							</tr>
							<tr>
								<td class="td_key">
									项目规划：
								</td>
								<td>
									<s:textarea name="project.description" id="project_description" cols="55" rows="15"></s:textarea>
								</td>
							</tr>
							<tr>
								<td class="td_key">
									联系人：
								</td>
								<td>
									<s:textarea name="project.contactInfo" id="project_contactInfo" cols="55" rows="15"></s:textarea>
								</td>
							</tr>
							<tr>
								<td>
									
								</td>
								<td>
									<s:submit value="提交"></s:submit>
								</td>
							</tr>
	
					</tbody>
				</table>
				
			</s:form>
		</div>
	</body>
</html>